<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Home\Logic;

//use Think\Model;

class ChepiaoLogic {

    public function __construct() {
        $this->model = D('Chepiao', 'Model');
    }

    function getCpList($where = '1') {
        return $this->model->where($where)->page(I('get.p') . ',25')->select();
    }

}
